/*
 * Copyright (c) 2008 VMware, Inc.
 * Copyright (c) 2009 John Pritchard, JBXML Project Group
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package jbxml;

import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.NoSuchElementException;


/**
 * Java reflection as bean properties via the {@link lxl.Dictionary}
 * interface.  
 * 
 * The "bean" convention represents as bean property named 'foo' via
 * the methods 'getFoo' and 'setFoo' on the Java object class.  The
 * type of 'foo' is the type of the value returned by 'getFoo'.
 *
 * @author gbrown
 * @author jdp
 */
public class Reflector
    extends lxl.beans.Reflector
{

    public Reflector(Object bean) {
        super(bean);
    }



    protected lxl.beans.Relative newRelative(lxl.beans.Component bean, String name, String value){

        return (new Relative( (Component)bean, name, value));
    }

}
